package com.gome.ocean.dao.model.reqres;

import javax.servlet.http.HttpSession;

import com.gome.ocean.common.enums.authority.UrlMethodType;

/**
 * Created by liuqingxia on 2016/6/2.<br>
 * 访问请求对象
 */
public class AccessRequest {

    private String             url;
    private UrlMethodType      type;
    private HttpSession        session;
    public AccessRequest(){

    }

    public AccessRequest(String url, UrlMethodType type, HttpSession session){
        this.url = url;
        this.type = type;
        this.session = session;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public UrlMethodType getType() {
        return type;
    }

    public void setType(UrlMethodType type) {
        this.type = type;
    }

    public HttpSession getSession() {
        return session;
    }

    public void setSession(HttpSession session) {
        this.session = session;
    }
}
